#ifndef QTREEITEMDATAPROPERTY_H
#define QTREEITEMDATAPROPERTY_H

#include "../../libs/shared/property/qabstractproperty.h"

class QTreeItemDataProperty : public QAbstractProperty
{
    Q_OBJECT
public:
    Q_INVOKABLE QTreeItemDataProperty(QAbstractProperty* parent=0);

    QIcon       get_value_icon();
    QString     get_value_text();
    void    toObject(XMLObject *xml);
    void    fromObject(XMLObject *xml);

    bool    cmp(const QVariant &value);

    static QString get_property_name();
};

#endif // QTREEITEMDATAPROPERTY_H
